package com.hu.zhcc.shiro.entity.xsx;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 预约设置表
 * </p>
 *
 * @author xsx
 * @since 2021-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class XsxTOrdersetting extends Model<XsxTOrdersetting> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 约预日期
     */
    @TableField("orderDate")
    private String orderDate;
    /**
     * 可预约人数
     */
    private Integer number;
    /**
     * 已预约人数
     */
    private Integer reservations;
    /**
     * 创建时间
     */
    private String createtime;
    /**
     * 修改时间
     */
    private String updatetime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
